package xy.donate.android.ui.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;

import com.tencent.qcloud.tim.uikit.modules.chat.ChatLayout;
import com.tencent.qcloud.tim.uikit.modules.chat.base.ChatInfo;

import xy.donate.android.R;
import xy.donate.android.common.MyActivity;
import xy.donate.android.constant.Constant;

public class ChatDetailActivity extends MyActivity {

    @Override
    protected int getLayoutId() {
        return R.layout.activity_chat_detail;
    }

    @Override
    protected void initView() {
        ChatLayout chatLayout = findViewById(R.id.chat_layout);
        chatLayout.initDefault();
        chatLayout.setChatInfo((ChatInfo) getIntent().getSerializableExtra(Constant.CHAT_INFO));
    }

    @Override
    protected void initData() {

    }
}